<template>
    <div class="terminalClass">
        <Result type="success" isSuccess="success" title="提交成功" description="我们将在1-2个工作日内完成审核，您可以通过“终端审核查询”查询进度。"
            class="result"></Result>
        <div style="text-align:center;">
            <a-button type="primary" @click='closePage'>关闭页面</a-button>
        </div>
    </div>
</template>
<script>
    import Result from "@/components/result/Result";
    import { message } from "ant-design-vue";
    import api from "@/common/api";
    import { error } from "util";
    import { fail } from "assert";
    export default {
        data() {
            return {
                memberNo: "",
                success: true
            };
        },
        components: {
            Result
        },
        created() {

        },
        mounted() {

        },
        methods: {
            onPrev(step) {
                var st = step - 1;
                this.$router.push("/OrgRegister/step" + st);
            },
            doNext(step) {
                var st = step + 1;
                this.$router.push("/OrgRegister/step" + st);
            },
            Rewrite() {
                this.$router.push({ path: "/OrgRegister/step4" });
            },
            closePage() {
                // this.$router.push('')
                window.opener = null;
                window.open("about:blank", "_top").close()
            },
            CloseWebPage() {
                if (navigator.userAgent.indexOf("MSIE") > 0) {
                    if (navigator.userAgent.indexOf("MSIE 6.0") > 0) {
                        window.opener = null; window.close();
                    }
                    else {
                        window.open('', '_top'); window.top.close();
                    }
                }
                else if (navigator.userAgent.indexOf("Firefox") > 0) {
                    window.location.href = 'about:blank '; //火狐默认状态非window.open的页面window.close是无效的    
                    //window.history.go(-2);     
                }
                else {
                    window.opener = null;
                    window.open('', '_self', '');
                    window.close();
                }
            }
        }
    };
</script>
<style lang="less" scoped>
    .terminalClass {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100%;
        flex-direction: column;
    }
</style>